package com.niit.galsearch.service;

// SearchService.java


import com.niit.entity.Game;
import com.niit.utils.CommonResult;

import java.util.List;

public interface SearchService {

//    List<Game> getRecommendedGames();
    List<Game> search(Game game1);

    List<Game> sample();

    List<Game> searchGamesByName(String gameName);

    Game searchGamesById(Integer id);


    List<Game> searchGamesByLabel(String label);
    List<Game> searchGamesByPublisher(String publisher);
    List<Game> searchGamesByCollect(Integer collect);
    List<Game> searchGamesByUpvote(Integer upvote);
}
